package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Dept;

import java.util.List;

public interface DeptService {

    PageInfo findAll(Integer page, Integer size);

    Dept findById(String id);

    void delete(String...id);

    void save(Dept dept);

    void update(Dept dept);

    List<Dept> findAll();
}
